﻿CREATE PROCEDURE [dbo].[magazines_delete]
    @magazineId int
AS
    DELETE FROM Magazine 
    WHERE Magazine.MagazineId = @magazineId
    DELETE FROM Televisors
    WHERE Televisors.MagazineId = @magazineId
RETURN 0
